let store;

let elec = (window as any).electron

if (typeof elec != "undefined") {
  // Electron环境下运行，是.exe程序
  store = elec.store;
} else {
  // 在浏览器中运行
  store = window.localStorage;
}

export default store;
